<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$admin_title}</title>
<include file="./core/Modules/Center/Tpl/Public/js_css_header.html" />
<script type="text/javascript">
	//XHEDITOR初始化
	$(pageInit);
	function pageInit(){
		$('#elm1').xheditor({tools:'FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,|,Align,List,|,Hr,Table,|,Img,Flash,Emot,Source',upImgUrl:"__APP__/xh_upload.php",upImgExt:"jpg,jpeg,gif,png",skin:'nostyle'});
	}
</script>
</head>
<body>
	<include file="./core/Modules/Center/Tpl/Public/header.html" />
	<div class="cont_wrap">
		<div class="position">当前位置:&nbsp;{$location}&nbsp;&gt;&nbsp;<if condition="$obj != null">修改操作<else />新增操作</if></div>
		<form name="formSubmit" action="__APP__/center/singelArticle/process/" method="post" enctype="multipart/form-data">
			<input type="hidden" name="cid" value="{$Think.get.cid}"/>
			<table width="100%" cellpadding="0" cellspacing="0" class="line">
				<tr height="20">
					<td align="center" width="18%" class="tabl_line_bg">标题</td>
					<td align="left">
						<strong>{$cata.catalog_name}</strong>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">时间</td>
					<td align="left">
						<input type="text" name="timeline" size="60" value="<if condition='$obj==null'>{$nowTime|date='Y-m-d',###}<else />{$obj.timeline|date='Y-m-d',###}</if>" class="text" />&nbsp;提示：格式2012-02-02
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">内容</td>
					<td align="left">
						<textarea id="elm1" name="content" style="width: 800px;height:300px;">{$obj.content}</textarea>
					</td>
				</tr>
				<tr height="20">
					<td align="left" colspan="2">
						<if condition="$referUrl neq null"><a class="button" href="javascript:redirectURL('{$referUrl}');">返回</a></if>
						&nbsp;<a id="submit_btn" class="button" href="javascript:;" onclick="doSubmitForm(this)">提交</a>
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
